<?php

include_once('FavoritesService.php');


	if(isset($_POST['userId']) && !empty($_POST['userId'])){
		$savFav = new FavoritesService();

		$userId = $_POST['userId'];

		$results = $savFav->getFav($userId);
		print($results);
	}

?>
